package com.weetop.cfw.base.presenter

import com.weetop.cfw.register.RegisterActivity

interface RegisterPresenter:BasePresenter {

    /**
     *  用户注册
     *  @param username 用户昵称
     *  @param phoneNumber 手机号
     *  @param verificationCode 验证码
     *  @param logInPassword 登录密码
     *  @param againPassword 确认登录密码
     */
    fun register(registerActivity: RegisterActivity,username:String,phoneNumber:String,verificationCode:String,logInPassword:String,againPassword:String,source:Int)

    /**
     * 获取验证码
     * @param mobile 手机号
     */
    fun getVerificationCode(registerActivity: RegisterActivity,mobile:String)

    /**
     * 来源列表数据
     */
    fun sourceList(registerActivity: RegisterActivity)
}